/* GLOBAL */
form fieldset legend	{ margin-left:-999em !important; position:absolute !important; }
form p.submit { text-align:right; }
form p { line-height:2; clear:both;}
form dl { position:relative; }
form dt { float:left; clear:left; width:12em; margin: 0; padding:0.25em 0.5625em 0.25em 0}
form dd { float: left; }
form .submit input {background:url(../images/ccc-fff.png) top left repeat-x #fff; border:1px groove #222;}

/* SIGN IN BOX */
#signin p { display:inline;}
#signin p.footnote	{ font-size:smaller;  padding:0.125em 0 0 .125em;}
#signin input#remember_me	{ margin:0.125em 0.125em 0.125em 0; vertical-align:middle; }
img#openid	{ margin-left:-20px; vertical-align:middle; }

/* sign in box when present in #header #login-block */
#header #signin { text-align:right;}
#header #signin form { background: url(../images/header-red.png) bottom left repeat-x #777; margin:-1.5em -0.25em 1em;padding:0.25em; border:1px groove #500000}
#header input { background:url(../images/ccc-fff.png) top left repeat-x #fff; border:1px groove; }
#header input:hover { background:#ddd; }

/*SESSIONS (front front pages - login, create, etc)*/
.session form {padding-top:1.5em;margin-bottom:1.5em; padding-bottom:1.5em; border-bottom:1px solid; }
.session form p, .session input#login, .session input#password, .session input#openid_url {float:none; display:block !important;margin:0 0 0.875em 0; width:24em;}
.session input#openid_url, .session form img {display:inline;}
.session form p.submit {margin:-2em auto 0 auto !important;}
.session form .footnote	{ font-size:.875em !important;}
.session form p.openid {margin-top:2em !important;}

#main.users-new form dt {width:100%; float:none;}

/* SEARCH */
#search {float:right;clear:right;}
#search p { font-size: 0.75em; float: left; clear: both; padding: 0 0.25em; margin: 0; position:relative;}
#search input.button {margin-left:5px;}

/*ADMIN */
.admin_session-new dt { width:6em; }
/*REPORT ABUSE */
#main.abuse_reports-new dt { width:100%; float:none; }

/*TRANSLATION */
.translations form {position:relative;}
.translations textarea { border:1px groove #aaa; float:left; width:69%;}
.translations form input {background:url(../images/fff-ccc.png) bottom left repeat-x #fff; border:1px groove #aaa; float:right; width:29%; padding:0.625em; margin-top:0.1em;}
.translations form input:hover { border:1px groove #666;}
.translations form input:active { background:url(../images/ccc-fff.png) top left repeat-x #fff; border:1px groove #aaa;}
.translations textarea:hover,.translations textarea:active { background:#d1e1ef;}

/* POST WORK */
/*work-meta  and work-show rules in work-views.css */
#work-form legend {position:static; margin:0; padding:0.375em; background:#fffef9; border:1px solid #bbb;}
.works-preview legend, .works-update legend {color:#fff;}
#work-form input, #work-form select, #work-form textarea {width:99%; margin:auto}
#work-form fieldset { background:#fffef9; font-size:0.875em; margin: 0.5625em 0; padding:0.375em 1.5em; border:1px solid #bbb; }
#work-form fieldset fieldset { line-height:1.5; margin: 0 auto 0.5625em auto; }

#work-form #chapter-ordering input.number-field { width:5em! important;}
#work-form fieldset.work-meta {background:#ddd; }
#work-form .work-meta dt{ float:left; clear:left; width:9em; margin: 0; padding:0.25em 0.5625em 0.25em 0}
#work-form .work-meta dd{ float: left; margin:0; padding:0; width:60%}

#work-preface textarea {height:10em;}
#work-form .preface dt {float:none; width:auto; text-align: left}
#work-form .preface dd { margin-bottom:0.5625em;float:none;}

dd.work-title input, input#chapter_title { width:80%; }
#work-form .preface { border:0; }

fieldset#associations { font-size:0.875em;}
#managePublicationDate select {width:auto;}
dd#managePublicationDate {clear:both;}
dt.work-parent, dd.work-parent {float:none; width:99%; margin:auto}
dd#co-authors { margin:0 auto 0.875em auto; padding:0.375em; border:1px solid #bbb;}
input#work_parent_url {margin:0.375em auto 0.875em auto;}
dd#seriesmanage {clear:both; float:none;}
#seriesmanage dt, dt.work-restricted, dt.work-is_wip, dt.work-is_serial, dt.work-is-backdated{ width: 50%;}
#seriesmanage dd, dd.work-restricted, dd.work-is_wip, dd.work-is_serial	{ clear:right; margin:0; }
p.rtf-html-switch {margin:0; padding:0 0.875em 0; text-align:right; }
.rtf-html-switch span {background:#f0f0ee; padding:0.5625em 0.5625em 0 0.5625em; border:1px solid #ddd;}
#work-form textarea#content { height:31.25em;  margin:-0.625em auto auto;}

#work-form p.submit input { font-size:1em; width: inherit; text-align:center}

/*EDIT CHAPTERS */ 
#main.chapters-edit dt {width:100%;float:none;}
#main.chapters-new #work-form p input {width:auto}
#main.chapters-new.chapter_title input { width:80%; }
#main.chapters-new dt, #main.chapters-new dd {clear:both; width:100%;}
#main.chapters-new dd textarea {width:99%;margin:auto;}

/*EDIT PREFERENCES */
form.edit_preference ul { margin:0.562625em auto 1.12525em auto; padding:0.562625em 0; border-bottom:1px dashed;}
.edit_preference li { margin:0.562625em 0;}

/*EDIT PROFILE*/
#main.users-edit form { position:absolute; }
#main.users-edit dt	{ width:12em; }
#main.users-edit textarea#profile_attributes_about_me { height:12em; }
#main.users-edit hr.clear {margin-top:39em;}
#main.users-edit #link_to_openid, #main.users-edit #link_to_passwd {clear:both; margin:0 0.25em 0.5625em 11.125em; font-size:1.125em;}

/* NEW PSEUD */
form#new_pseud {position:absolute;}

/* EDIT PSEUD (Enigel Nov 25 08) */
form.edit_pseud {position:absolute;}

/*WORKS-INDEX -filters*/
form.work-filters	{ background:#ddd; font-size:0.875em; width:12.25em; float:right;  padding:0.75em 0.5625em;}
.filters dt	{ font-weight: 600; text-transform: capitalize; margin:0.5625em auto 0; padding:0; border-bottom:1px solid #fffef9; }
.filters dd {padding:0;}
.filters dt:hover	{ color:#fffef9; background:#777; } 
.filters span {font-size: 0.75em; font-weight: 500;}
.filters p.submit {font-size:0.75em;}

/*COMMENTS */
#comment_form_div dt	{ width:6em; }
textarea#comment_content	{ width:32em !important; height:11em !important}
#comment_form_div p.submit		{ width:32em}     

/* INBOX */
.inbox-show form p { clear: right; }
#inbox-form .comment { margin-bottom: 2em;}

/*TAG WRANGLINGS*/
form#wrangle-select-fandom p, form#wrangle-select-media p{ display:inline; margin-right:0.5625em;}

/* GLOBALIZE (in footer) you can find this in globalize.css*/
